package fatworm.planner;

import fatworm.tx.Transaction;
import fatworm.parser.syntree.*;

public interface UpdatePlanner {
	
	public int execute(SyntaxNode node, Transaction tx);
   
	public int executeInsert(InsertTableNode node, Transaction tx);
   
	public int executeDelete(DeleteTableNode node, Transaction tx);
   
	public int executeModify(UpdateTableNode node, Transaction tx);
   
	public int executeCreateTable(CreateTableNode node, Transaction tx);
   
	//public int executeCreateIndex(CreateIndexNode node, Transaction tx);
}
